projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec180a2
)
(gud-speedbar-item-info): Display frame address for root variables.
author
Nick Roberts
<nickrob@snap.net.nz>
Mon, 17 Apr 2006 19:50:14 +0000
(19:50 +0000)
committer
Nick Roberts
<nickrob@snap.net.nz>
Mon, 17 Apr 2006 19:50:14 +0000
(19:50 +0000)
lisp/progmodes/gud.el
patch
|
blob
|
history
diff --git
a/lisp/progmodes/gud.el
b/lisp/progmodes/gud.el
index 907a2e7c30012b1c146d0237045c02e8aeec20e4..e1e2b9e28cd019ca1d1797b575dea5178de79766 100644
(file)
--- a/
lisp/progmodes/gud.el
+++ b/
lisp/progmodes/gud.el
@@
-374,8
+374,9
@@
t means that there is no stack, and we are in display-file mode.")
(defun gud-speedbar-item-info ()
"Display the data type of the watch expression element."
(let ((var (nth (- (line-number-at-pos (point)) 2) gdb-var-list)))
- (if (nth 4 var)
- (speedbar-message "%s" (nth 3 var)))))
+ (if (nth 6 var)
+ (speedbar-message "%s: %s" (nth 6 var) (nth 3 var))
+ (speedbar-message "%s" (nth 3 var)))))
(defun gud-install-speedbar-variables ()
"Install those variables used by speedbar to enhance gud/gdb."